package com.spvs.system.api;


import com.spvs.common.core.constant.ServiceNameConstants;
import com.spvs.system.api.domain.LeaseCallBackAPI;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 设备租赁回调
 */
@FeignClient(contextId = "equipLeaseBetweenService", value = ServiceNameConstants.SYSTEM_SERVICE)
public interface IEquipLeaseBetweenService {


    /**
     * 设备租赁回调接口
     * @param leaseCallBackAPI 设备租赁回调参数
     * @return
     */
    @PostMapping("/between/back")
    public void callBack(@RequestBody LeaseCallBackAPI leaseCallBackAPI);
}
